package vip.xiaonuo.supplier.modular.purchase.suppliers.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 供应商编辑参数
 *
 * @author Mr.wu
 * @date  2025/02/28 21:58
 **/
@Getter
@Setter
public class SupplierSuppliersEditParam {

    /** 供应商ID */
    @Schema(description = "供应商ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "id不能为空")
    private String id;

    /** 供应商编码 */
    @Schema(description = "供应商编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "supplierCode不能为空")
    private String supplierCode;

    /** 供应商名称 */
    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "supplierName不能为空")
    private String supplierName;

    /** 负责人 */
    @Schema(description = "负责人")
    private String supplierPerson;

    /** 联系人 */
    @Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "supplierContact不能为空")
    private String supplierContact;

    /** 联系电话 */
    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "supplierTel不能为空")
    private String supplierTel;

    /** 邮箱 */
    @Schema(description = "邮箱")
    private String supplierEmail;

    /** 传真 */
    @Schema(description = "传真")
    private String supplierFax;

    /** 开户行 */
    @Schema(description = "开户行")
    private String supplierBank;

    /** 银行账号 */
    @Schema(description = "银行账号")
    private String supplierBankcode;

    /** 地址 */
    @Schema(description = "地址")
    private String supplierAddress;

    /** 应付账款 */
    @Schema(description = "应付账款")
    private BigDecimal supplierAccountsPayable;

    /** 备注 */
    @Schema(description = "备注")
    private String supplierRemark;

    /** 拼音码 */
    @Schema(description = "拼音码")
    private String supplierPinyin;

    /** 附件 */
    @Schema(description = "附件")
    private String supplierAttachment;

}
